/**
 * 
 */
package com.monte.export.excel.template;

/**  
 * <b>System：</b>NDMP<br/>
 * <b>Title：</b>SheetStruct.java<br/>
 * <b>Description：</b> 工作簿设置<br/>
 * <b>@author： </b>fengmengyue<br/>
 * <b>@date：</b>2014-4-2 上午10:48:17<br/>  
 * <b>@version：</b> 1.0.0.0<br/>
 * <b>Copyright (c) 2014 ASPire Tech.</b>   
 *   
 */
public class SheetStruct {
	
	/**
	 * 工作薄名称
	 */
	private String sheetName;
	
	/**
	 * 工作薄ID
	 */
	private String sheetId;
	
	/**
	 * 列头
	 */
	private Table title;
	
	/**
	 * 数据
	 */
	private Table body;
	
	/**
	 * 列尾
	 */
	private Table foot;
	
	/**
	 * 单个工作簿最大行数
	 * excel 03 单sheet最大行数为65536 = 256^2
	 * excel 07 单sheet最大行数为1048576 = 1024^2
	 */
	private int maxRows = 1000000;//excel 07 单sheet最大行数为1048576

	public String getSheetName() {
		return sheetName;
	}

	public void setSheetName(String sheetName) {
		this.sheetName = sheetName;
	}

	public String getSheetId() {
		return sheetId;
	}

	public void setSheetId(String sheetId) {
		this.sheetId = sheetId;
	}

	public Table getBody() {
		return body;
	}

	public void setBody(Table body) {
		this.body = body;
	}

	public Table getFoot() {
		return foot;
	}

	public void setFoot(Table foot) {
		this.foot = foot;
	}

	public void setTitle(Table title) {
		this.title = title;
	}

	public Table getTitle() {
		return title;
	}

	public void setMaxRows(int maxRows) {
		this.maxRows = maxRows;
	}

	public int getMaxRows() {
		return maxRows;
	}
}
